package com.wp.service;

import com.wp.pojo.User;
import org.springframework.stereotype.Service;


import java.util.List;

public interface UserService {

    public List<User> findAll();

    public User login(String usrName, String usrPassword);

    public int deleteUser(Integer usrId);

    public int insert(User user);
}
